﻿using System.Web;
using System.Web.Mvc;
using webui.Filters;

namespace webui
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new Filters.LoginValidateAttribute());  // 权限过滤器， 
            filters.Add(new AppErrorAttribute()); //  异常过滤器
            // filters.Add(new HandleErrorAttribute());
        }
    }
}
